<template>
	    <div v-html="ahtml" ref="alipayWap">

	    </div>
</template>

<script>
	export default {
		name: "zhifubao",
        data() {
            return {
                ahtml: "<div>正在发起支付，请稍等......</div>"
            }
        },
        mounted: function(options) {
            var that = this;
            this.common.post(this.api.zhifubaotradeNo, {
                tradeNo: this.$route.params.tradeNo
            }, function(res) {
                that.ahtml = res.resultMap;
                that.$nextTick(function(){
                     that.$refs.alipayWap.children[0].submit();
                });
            });
        }
	}
</script>

<style>
</style>
